﻿-var forms = ViewData.ContainsKey("formnumbers") ? ViewData["formnumbers"] as IList<NotarialForm> : null
#formnumberholder
  -foreach(var form in forms)
    .field
      %span.small=string.Format("77АА{0}",form.FullName)
      -if (!readOnly)
        %a.noul.nfinvalidlink{href="#",onclick=string.Format("return makeInvalid(this, {0});",form.Id)}
          %img{src="img/trash.gif",title="Недействителен"}
    .clear
  %select{multiple="true", class="hidden nolink", name="nformsdeleted", id="nformsdeleted"}
  =HTMLHelper.HiddenInput("formnumberids","")